package com.haikesi.api.timertask.domain.po;

import com.haikesi.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import javax.persistence.*;

@Table(name = "timer_task")
@Data
@EqualsAndHashCode(callSuper = false)
public class TimerTaskPO extends BaseEntity {

    /**
     * 平台定时任务ID(存储方式为："1,2,3,4")
     */
    @Column(name = "platform_timer_task")
    private String platformTimerTask;

    /**
     * 定时名称
     */
    @Column(name = "timer_name")
    private String timerName;

    /**
     * 激活定时
     */
    @Column(name = "enable_timer")
    private Boolean enableTimer;

    /**
     * 定时时间
     */
    @Column(name = "timer_time")
    private String timerTime;

    /**
     * 定时周期
     */
    @Column(name = "timer_cycle")
    private String timerCycle;

    /**
     * 设备所属组织机构ID
     */
    @Column(name = "organization_id")
    private String organizationId;

    /**
     * 定时说明
     */
    @Column(name = "timer_readme")
    private String timerReadme;

}